package com.tianshu.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.tianshu.base.BaseEntity;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author liaojie
 * @since 2021-11-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_sys_user")
public class TSysUser extends BaseEntity {

    private static final long serialVersionUID=1L;

    private String userId;

    private String userAccountId;

    private String userName;

    private String bankCode;

    private String userPsw;

    private String userStatus;

    private String positionId;

    private LocalDateTime createTime;

    private String createUserId;

    private LocalDateTime updateTime;

    private String updateUserId;

    private String idNumber;

    /**
     * 用户手机号
     */
    private String userTel;

    /**
     * 客户经理分支行
     */
    private String branchCode;

    private String teamName;

    private String teamLeader;


    public static final String USER_ID = "user_id";

    public static final String USER_ACCOUNT_ID = "user_account_id";

    public static final String USER_NAME = "user_name";

    public static final String BANK_CODE = "bank_code";

    public static final String USER_PSW = "user_psw";

    public static final String USER_STATUS = "user_status";

    public static final String POSITION_ID = "position_id";

    public static final String CREATE_TIME = "create_time";

    public static final String CREATE_USER_ID = "create_user_id";

    public static final String UPDATE_TIME = "update_time";

    public static final String UPDATE_USER_ID = "update_user_id";

    public static final String ID_NUMBER = "id_number";

    public static final String USER_TEL = "user_tel";

    public static final String BRANCH_CODE = "branch_code";

    public static final String TEAM_NAME = "team_name";

    public static final String TEAM_LEADER = "team_leader";

}
